Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

154
Visualizações
React can not POST

I have using a payment service.And this service posts a token to a react page.But the page showing CAN NOT POST error. enter image description here

Posted url is Callbackurl.The service posts the token correctly.There is no problem here.

And this is my react code of the requested url:

import React from "react";
import { connect } from "react-redux";
import { RootState } from "../../store/reducer";
import { bindActionCreators, Dispatch } from "redux";
import { History } from "history";

interface OwnProps {
  history: History<any>;
}

function mapStateToProps(state: RootState) {
  return {
    language: state.system.language,
    systemUserInfo: state.system.userInfo,
    formData: state.form.formData,
  };
}

function mapDispatchToProps(dispatch: Dispatch) {
  return {
    ...bindActionCreators(
      {
      },
      dispatch
    ),
  };
}

type HomeProps = ReturnType<typeof mapStateToProps> &
  ReturnType<typeof mapDispatchToProps> & OwnProps;

class Pay extends React.Component<HomeProps> {

  render() {
    return (
      <div className="mt-5">
        <div className="container">
          <div className="row">
            <div className="col-md-8 mt-5">
              <div className="row">
                <div className="card">
                  <div className="card-body">Ödeme İşlemi Onaylandı.</div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    );
  }
}
export default connect(mapStateToProps, mapDispatchToProps)(Pay);

And this is the error:

enter image description here

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda