Answers.Body: <p>This post may help:
  <a href="https://craftcms.stackexchange.com/questions/364/is-it-possible-to-disable-requireuseragentandipforsession-for-specific-instanc">Is it possible to disable `requireUserAgentAndIpForSession` for specific instances?</a></p>
  
  <p>Take a look at the <a href="http://buildwithcraft.com/docs/config-settings#requireUserAgentAndIpForSession" rel="nofollow noreferrer"><code>requireUserAgentAndIpForSession</code></a> config-setting.</p>
  
  <p>Post from phone, sorry if formatting is a bit off.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-02T14:50:26.610Z
Answers.LastActivityDate: 2014-08-02T14:55:59.827Z
Answers.LastEditDate: 2017-04-13T12:51:00.200Z
Answers.UserDisplayName: John Moylan
Body: <p>We're setting up craft as a webservice. One of my programmers came to me and said every "slug" he called from the frontend application resulted in a 302 redirect to the login page of craft CP. Afer some investigation it seems that he didnt sent any Useragent string from his frontend curl client. After adding a useragent string everything went ok. Is this normal behaviour or can it be configured?</p>
  
  <p>Thanks</p>
  
Tags: <plugin-development><slug>
Title: Is it possible to use Craft as a webservice when no useragent is sent?
ThreadText: # Is it possible to use Craft as a webservice when no useragent is sent?
  
  (Asked by: username_0 on 2014-08-02)
  
  We're setting up craft as a webservice. One of my programmers came to me and said every "slug" he called from the frontend application resulted in a 302 redirect to the login page of craft CP. Afer some investigation it seems that he didnt sent any Useragent string from his frontend curl client. After adding a useragent string everything went ok. Is this normal behaviour or can it be configured?
  
  Thanks
  
  **Tags:** plugin-development, slug
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-08-02. Score: 7 | Accepted answer
  
  This post may help:
  [Is it possible to disable `requireUserAgentAndIpForSession` for specific instances?](https://craftcms.stackexchange.com/questions/364/is-it-possible-to-disable-requireuseragentandipforsession-for-specific-instanc)
  
  Take a look at the [`requireUserAgentAndIpForSession`](http://buildwithcraft.com/docs/config-settings#requireUserAgentAndIpForSession) config-setting.
  
  Post from phone, sorry if formatting is a bit off.
  
  
  ---
  
  