Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
Adding client header to API requests
Browse files Browse the repository at this point in the history
  • Loading branch information
saagar committed Oct 18, 2014
1 parent ab2a0aa commit f6cca47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion api_bridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ Asana.ApiBridge = {
url: url,
timeout: 30000, // 30 second timeout
headers: {
"X-Requested-With": "XMLHttpRequest"
"X-Requested-With": "XMLHttpRequest",
"X-Allow-Asana-Client": "1"
},
accept: "application/json",
success: function(data, status, xhr) {
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Asana Extension for Chrome",
"version": "1.0.2",
"version": "1.0.3",
"description": "Quickly add tasks to Asana from any web page.",
"icons": {
"128": "icon128.png",
Expand Down

0 comments on commit f6cca47

Please sign in to comment.