Welcome to the DataLinky API documentation. The /go
endpoint is
designed to facilitate seamless redirections with form-encoded data. When data
is submitted to the specified URL via HTTP GET or POST, the information is
encoded as application/x-www-form-urlencoded, which is the standard way to
encode form data in HTTP requests.
The /go
endpoint processes provided form data and redirects
to a specified URL with a 302 HTTP status code:
https://datalinky.com/go
https://datalinky.com/go?urls=https%3A%2F%2Fexample.com%2Fsubmit&redirectTo=https%3A%2F%2Fexample.com%2Fthank-you&name=John+Doe&email=johndoe%40example.com
This endpoint responds with a 302 HTTP status code and redirects
to the URL specified in the redirectTo
parameter, passing
along any form data as query parameters.
No JSON is returned. The browser or HTTP client is redirected to the new location.
If there is any error in the request, the endpoint responds with a 400-500 error code, with an error message in the response body.
The /go
endpoint processes provided form data and redirects
to a specified URL with a 302 HTTP status code:
https://datalinky.com/go
curl -X POST 'http://datalinky.com/go'
-H "Content-Type: application/json"
-d '{"urls":["https://datalinky.com/test"], "redirectTo":"https://datalinky.com", hello: "world"}'
This endpoint responds with a 302 HTTP status code and redirects
to the URL specified in the redirectTo
url, after POST'ing
/ relaying the data into your other URLs.
No JSON is returned. The browser or HTTP client is redirected to the new location.
If there is any error in the request, the endpoint responds with a 400-500 error code, with an error message in the response body.