From 5709af1e89bc6a07b6c9522fa5933b09c19d1bd6 Mon Sep 17 00:00:00 2001 From: Trevor Skaggs Date: Mon, 27 Jan 2025 06:51:12 -0800 Subject: [PATCH 1/2] Add POST method and body to create-order return --- src/stapi_fastapi/routers/product_router.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stapi_fastapi/routers/product_router.py b/src/stapi_fastapi/routers/product_router.py index e98738c..e952c0f 100644 --- a/src/stapi_fastapi/routers/product_router.py +++ b/src/stapi_fastapi/routers/product_router.py @@ -179,6 +179,8 @@ async def search_opportunities( ), rel="create-order", type=TYPE_JSON, + method="POST", + body=search.dict(), ), ], ) From 61d078a378146e49e57f03040f454df507eeddb0 Mon Sep 17 00:00:00 2001 From: Trevor Skaggs Date: Mon, 27 Jan 2025 06:56:48 -0800 Subject: [PATCH 2/2] Add changelog --- CHANGELOG.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2580740..7f16264 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Added + +### Changed +- Changed method to POST and added body to return of `create-order` link during `search_oppurtunities` calls. + +### Deprecated + +### Removed + +### Fixed + +### Security + ## [v0.5.0] - 2025-01-08