Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Importing via CURL seems to strip '=' sign in xml body leading to 400 status error #152

@aurorabore4lis

Description

@aurorabore4lis

Expected Behavior

Importing a post api call via CURL should return a 201 status.
On inspection the first line of xml body in api post request should look as follows:
<?xml version="1.0"?>

Actual Behavior

Importing via CURL a post api call currently returns a 400 status error.
This is because the first line of xml body of api post request is missing the '=' in <?xml version="1.0"?>

Reproduction Steps

  1. Open up Insomnium and choose to import from Curl via menu item: >_From Curl
  2. Paste your curl api call and hit the Import button.
  3. Inspect the xml body of api post request and note first line of xml body is broken: <?xml version"1.0"?>
  4. Please change it so it is parsed correctly: It should read <?xml version="1.0"?>
    I have used other REST api applications and I am not getting this issue.

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

Insomnium 0.2.3-a

What operating system are you using?

Windows

Operating System Version

Windows 10 Pro version 22H2

Installation method

https://github.com/ArchGPT/insomnium/releases

Last Known Working Insomnium version

No response

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