Can get Location in tus direct link

Please help!
I’m trying to get it via php and curl direct link to tus upload ( via{account ID}/stream?direct_user=true{account ID}/stream?direct_user=true))
but in headers i didnt see it, just this information:

HTTP/2 200
date: Mon, 02 Oct 2023 12:30:52 GMT
content-type: application/json; charset=UTF-8
cf-ray: 80fcf5877f640c4e-DME
cf-cache-status: DYNAMIC
set-cookie: __cflb=0H28vgHxwvgAQtjUGUSTLLCMLmdTy1vPsPpfNck73UZ; SameSite=Lax; path=/; expires=Mon, 02-Oct-23 15:00:53 GMT; HttpOnly
vary: Accept-Encoding
x-envoy-upstream-service-time: 201
set-cookie: __cfruid=c7a2e2cfe75f18ea8af361e13604e4c224cc997f-1696249852; path=/; ; HttpOnly; Secure; SameSite=None
server: cloudflare

and in body response from{account ID}/stream?direct_user=true{account ID}/stream?direct_user=true)I get everytime data of last uploaded video. Why? I want just to get URL to upload

Dear @zaid and @renan, can you help me?

Check out the instructions here:

You need to start the TUS upload with the POST request and specified request headers.

1 Like

I make it with POST, but now I have problems with cors

And this 2 examples are identical. May be do you have working example of tus Direct Creator?