https://api.sendgrid.com
while the root-endpoint of Twitter’s API is https://api.twitter.com
https://api.twitter.com
and path /users/{id}/tweets
{}
on a path denotes a variable. You need to replace these variables with actual values when you send your request. In the above example, you need to replace {id}
with the actual Twitter id of the user.?
). Each parameter pair is then separated with an ampersand (&
), like this:1Content-Type: application/jsonCopied!
POST
, PUT
, PATCH
or DELETE
requests. You can send body data in a different format specified in Content-Type
header, such as form-data, JSON, text, XML, or binary data.Content-Type
header, such as JSON, text, XML, HMTL, or binary data. POST
, PUT
, PATCH
and DELETE
requests typically alter the database of an application or GET
requests can retrieve sensitive data developers almost always put them behind an authentication wall. Authorization
request header when making requests to protected resources: Authorization: Bearer <token>