Rest API Returning Token

Asked

Viewed 52 times

0

I need to develop an application in Swift I’m trying to consume a API to log in and when to log in Token, but this Token is already existing in the API, would you like to know how I send it? It’s kind of Request Response?

  • With the information you’re providing, there’s no one to help you. It is necessary that you either post the api link or the json result (date) that you receive as the server response. To convert the JSON response (data) to string use print(String(data: data, encoding: .utf8) ?? "")

  • 1

    I’ve already solved the problem, thank you.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.