Anyone is consuming rest endpoint with rust? Espec...
# help
z
Anyone is consuming rest endpoint with rust? Especially with reqwest crate, I can't retrieve the data 🤔
n
Hello @zavbala! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
z
All the headers are present
And I get 401 unauthorized
should I send a user agent?
g
No idea on Rust, but if you are doing https calls to the API you might post an example of your network call url and the apkey and authentication headers and response. Might be able to help with that. 401 is typically the token is not valid.
n
zavbala (2022-06-03)
g
Right now the only library for Rust is for PostgREST (database calls). https://github.com/supabase-community/postgrest-rs , but you may know that.
z
Cool let me check, thanks