![]() For OAuth 2.0 or JWT, we’ll add the Authorization: Bearer header and ask you for the token to include. If you choose Basic authentication, we’ll give you a username and password input and encode those for you. ![]() where search is a query parameter and the value being searched for is ‘star wars.’ Whether you add a query parameter directly to the URI, or put it into the query parameter area in the tabs, we’ll convert it for you and show query parameters in both places (don’t worry, it won’t be duplicated across the wire).Īuthentication & Headers is where you’d go to add headers, like the content-type of a request, and add authentication. Parameters refers to query parameters, e.g. Authentication, parameters, and headersīelow the URI input are three tabs, Parameters, Authentication & Headers, and Body. If you get an error back, please see our Browser Support section for tips. The Send button becomes enabled once you’ve put a destination into the URI field. If you don’t have any authentication, headers, or query parameters to add, press Send. You can put local resources there, as well (e.g. Choose the base URI and path of the API you’d like to call. To the right of the method option is the URI input. Near the top of the page, there is a method dropdown containing common HTTP verbs like GET, PUT, and POST. You will NOT have a Swagger username or password if you choose the GitHub option when you sign up. We use single sign on, so GitHub stores and maintains your credentials if you choose the GitHub option. You can also login using your GitHub credentials. You can have up to 3 definitions in our free plan. Signing up (or logging in, if you have an account) allows you to save your call history, pin requests, use collections, and create API definitions. ![]() If you already have a SwaggerHub account, you can login with those credentials.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |