Skip to content

Issue on api #2

@chasinglucid

Description

@chasinglucid

My API calls do not work.

Invoke-WebRequest : Cannot bind parameter 'Headers'. Cannot convert the "x-api-key:
[SECRET API KEY]" value of type "System.String" to type "System.Collections.IDictionary".
At line:1 char:9

  • curl -H "x-api-key: sd_08fd0e1e3de5ea73d008f0a4e23d75f1" https://api ...
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException
    • FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions