Save a post location for the current user
PUT
/users/me/post-locations
users
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://trashnothing.com/api/v1.2/users/me/post-locations' \
--form 'latitude=""' \
--form 'longitude=""' \
--form 'name=""'
Response Response Example
[
{
"latitude": 0,
"longitude": 0,
"name": "string"
}
]
Request
Body Params multipart/form-data
latitude
string
required
longitude
string
required
name
string
required
A name that describes the location specified by the given latitude and longitude (must be >= 2 characters and <= 30 characters).
Responses
Modified at 2022-09-11 18:59:48