Title: Send Credentials in URL
Last modified: August 30, 2016

---

# Send Credentials in URL

 *  Resolved [hefe_jeff](https://wordpress.org/support/users/hefe_jeff/)
 * (@hefe_jeff)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/send-credentials-in-url/)
 * I am considering using this method to login to our site via an ios app. Is there
   a way to pass the username and password other then directly through the URL.
 * [https://wordpress.org/plugins/json-api-user/](https://wordpress.org/plugins/json-api-user/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/send-credentials-in-url/#post-6511346)
 * Just send the values using form POST method.
 *  [simoasc](https://wordpress.org/support/users/simoasc/)
 * (@simoasc)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/send-credentials-in-url/#post-6511666)
 * Hi, i use post method (angular) but it seems not working:
 * var request = $http({
    method: “post”, url: ‘/api/user/generate_auth_cookie/’,
   data: { username: myusername, password: mypwd }, headers: { ‘Content-Type’: ‘
   application/x-www-form-urlencoded’ } });
 * It responds with: You must include a ‘username’ var in your request.
 * Could you help me?
    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Send Credentials in URL’ is closed to new replies.

 * ![](https://ps.w.org/json-api-user/assets/icon-256x256.png?rev=1965790)
 * [JSON API User](https://wordpress.org/plugins/json-api-user/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-api-user/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-api-user/)
 * [Active Topics](https://wordpress.org/support/plugin/json-api-user/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-api-user/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-api-user/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [simoasc](https://wordpress.org/support/users/simoasc/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/send-credentials-in-url/#post-6511666)
 * Status: resolved