Title: Error on run · Issue #1 · vmwarecode/Execute-AirWatch-Rest-API-Call · GitHub
Open Graph Title: Error on run · Issue #1 · vmwarecode/Execute-AirWatch-Rest-API-Call
X Title: Error on run · Issue #1 · vmwarecode/Execute-AirWatch-Rest-API-Call
Description: When I try to run the Execute-AWRestAPI.ps1 file with the parameters I get: Invoke-RestMethod : The 'Accept' header must be modified using the appropriate property or method. Parameter name: name At C:\temp\Execute-AWRestAPI.ps1:251 char...
Open Graph Description: When I try to run the Execute-AWRestAPI.ps1 file with the parameters I get: Invoke-RestMethod : The 'Accept' header must be modified using the appropriate property or method. Parameter name: name A...
X Description: When I try to run the Execute-AWRestAPI.ps1 file with the parameters I get: Invoke-RestMethod : The 'Accept' header must be modified using the appropriate property or method. Parameter name...
Opengraph URL: https://github.com/vmwarecode/Execute-AirWatch-Rest-API-Call/issues/1
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error on run","articleBody":"When I try to run the Execute-AWRestAPI.ps1 file with the parameters I get:\r\n\r\nInvoke-RestMethod : The 'Accept' header must be modified using the appropriate property or method.\r\nParameter name: name\r\nAt C:\\temp\\Execute-AWRestAPI.ps1:251 char:14\r\n+ $webReturn = Invoke-RestMethod -Method Post -Uri $endpointURL -Headers $headers ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n + CategoryInfo : NotSpecified: (:) [Invoke-RestMethod], ArgumentException\r\n + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand\r\n\r\nAny idea why?\r\n\r\nThanks.\r\n\r\nJR","author":{"url":"https://github.com/jriker1","@type":"Person","name":"jriker1"},"datePublished":"2019-03-28T18:03:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1/Execute-AirWatch-Rest-API-Call/issues/1"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a7651609-ba0b-33fa-b4e7-a9e098cd8b84 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E256:29A644:53A702B:6D49E43:6A5D867B |
| html-safe-nonce | 1a48bf1c7fe775c89536b63831ced6343778a3e0626c206c0d38bf40ca2b06f2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjU2OjI5QTY0NDo1M0E3MDJCOjZENDlFNDM6NkE1RDg2N0IiLCJ2aXNpdG9yX2lkIjoiMzYxNDY2NDI3Nzg5NzM0ODczMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 46859a97952176c388641b695a53a133ed03a188aec24964f2c336b4e9683b60 |
| hovercard-subject-tag | issue:426635239 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/vmwarecode/Execute-AirWatch-Rest-API-Call/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e1ec89924054691c4794d0d0a8e225a8e7bf77f7a950a70e4f65ffd869277b5e/vmwarecode/Execute-AirWatch-Rest-API-Call/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e1ec89924054691c4794d0d0a8e225a8e7bf77f7a950a70e4f65ffd869277b5e/vmwarecode/Execute-AirWatch-Rest-API-Call/issues/1 |
| og:image:alt | When I try to run the Execute-AWRestAPI.ps1 file with the parameters I get: Invoke-RestMethod : The 'Accept' header must be modified using the appropriate property or method. Parameter name: name A... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jriker1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/vmwarecode/Execute-AirWatch-Rest-API-Call git https://github.com/vmwarecode/Execute-AirWatch-Rest-API-Call.git |
| octolytics-dimension-user_id | 12194195 |
| octolytics-dimension-user_login | vmwarecode |
| octolytics-dimension-repository_id | 58667205 |
| octolytics-dimension-repository_nwo | vmwarecode/Execute-AirWatch-Rest-API-Call |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 58667205 |
| octolytics-dimension-repository_network_root_nwo | vmwarecode/Execute-AirWatch-Rest-API-Call |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width