Skip to content

Commit

Permalink
Merge pull request #245 from urbsny/patch-1
Browse files Browse the repository at this point in the history
Fix body params format
  • Loading branch information
shalvah authored Jun 18, 2021
2 parents a1ff112 + 06179d5 commit c2e6fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/themes/default/endpoint.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<form id="form-{{ $endpoint->endpointId() }}" data-method="{{ $endpoint->httpMethods[0] }}"
data-path="{{ $endpoint->uri }}"
data-authed="{{ $endpoint->metadata->authenticated ? 1 : 0 }}"
data-hasfiles="{{ $endpoint->hasFiles() }}"
data-hasfiles="{{ $endpoint->hasFiles() ? 1 : 0 }}"
data-headers='@json($endpoint->headers)'
onsubmit="event.preventDefault(); executeTryOut('{{ $endpoint->endpointId() }}', this);">
<h3>
Expand Down

0 comments on commit c2e6fd4

Please sign in to comment.