Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Passing Content-Type with PostAsync #3

@SamuelOhrenberg-OCCC

Description

@SamuelOhrenberg-OCCC

Hello, all

I am just now getting started trying to use this in a C# app that I am building for my institution. I am trying to send a POST request to person-matching-requests to initiate the creation of a new person in our Colleague instance. However, I am getting a 404 error in my request because the Content-Type of the request being sent is "application/json" and the endpoint requires it be set to "application/vnd.hedtech.integration.person-matching-requests-initiations-prospects.v1+json".

Is it possible to force that Content Type to be updated via this library?

Example of the request in Fiddler

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